package com.swpu.service_remind.service;

import com.swpu.service_remind.entity.Medicine;
import com.swpu.service_remind.entity.MedicineRemind;
import com.baomidou.mybatisplus.extension.service.IService;
import com.swpu.service_remind.entity.vo.MedicineRemindVo;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author chaichai
 * @since 2024-03-13
 */
public interface MedicineRemindService extends IService<MedicineRemind> {

    void saveMedicineRemindSetting(String openid, MedicineRemindVo medicineRemindVo);

    List<MedicineRemindVo> getMedicineRemindData(String openid);

    MedicineRemindVo getMedicineRemindById(String openid, String id);

    void updateMedicineRemindById(String openid, MedicineRemindVo medicineRemindVo);

    void deleteMedicineRemindById(String id);

    List<Medicine> getMedicinesById(String medicineRemindId);
}
